/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const contractRouter = {
  path: '/contract',
  component: Layout,
  redirect: 'noRedirect',
  name: 'ContractManager',
  meta: {
    title: '合同管理',
    icon: 'el-icon-notebook-2',
    roles: ['ROLE_Contract_Show']
  },
  children: [
    {
      path: 'contractlist',
      component: () => import('@/views/contract'),
      name: 'ContractList',
      meta: { title: '合同管理', roles: ['ROLE_Contract_Show'], noCache: true }
    }
  ]
}

export default contractRouter
